﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class AutoCompleteTextbox : System.Web.UI.UserControl
{

    public string PageMethodURL { get; set; }

    public string MinSearchTermLength { get; set; }

    public bool EnforceSelection { get; set; }

    private int _maxHeight = 80;
    public int MaxHeight
    {
        get
        {
            return _maxHeight;

        }
        set
        {
            _maxHeight = value;
        }
    }

    public string TextBoxClientId
    {
        get
        {
            return this.tbComboBox.ClientID;
        }
    }

    public string Text
    {
        get
        {
            return this.tbComboBox.Text;
        }
        set
        {
            this.tbComboBox.Text = value;
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public class Answer
    {
        public int id { get; set; }
        public string value { get; set; }
    }

}
